package com.si.entity;

import java.util.HashSet;
import java.util.Set;
import javax.persistence.Basic;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
import org.hibernate.annotations.Fetch;
import org.hibernate.annotations.FetchMode;

/**
 * 信息类型
 * @author Dell
 *
 */
@Entity
@Table(name="t_info_type_classa")
public class InfoTypeClassA {

	public InfoTypeClassA(){}
	
	public InfoTypeClassA(Integer id){
		this.id= id;
	}
	
	/**
	 * id
	 */
	@Id
	@Basic(optional = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "id", nullable = false)
	private Integer id;
	
	/**
	 * 是否在菜单中显示
	 */
	@Column(name = "is_menu_show",length=30)
	private Integer isMenuShow;
	
	/**
	 * 名称
	 */
	@Column(name = "name",length=20)
	private String name;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getIsMenuShow() {
		return isMenuShow;
	}

	public void setIsMenuShow(Integer isMenuShow) {
		this.isMenuShow = isMenuShow;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	
}
